package com.monster.starter.core.common.config.http;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 请求配置
 * @author kuang
 */
@Data
@Configuration("HttpConfigStarter")
@ConfigurationProperties(prefix = "monster.http")
public class HttpConfig {
    /**
     * 路由模式
     * 开启路由模式，一级目录将作为认证条件
     */
    private boolean routeMode;
}
